import { createApp } from "vue";

// import "@/style.css";

import App from "@/App.vue";
import router from "@/router/index";
import pinia from "@/store";
import "virtual:windi.css";
import "virtual:svg-icons-register";

import "@/polyfill/polyfill";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import globalComponent from "@/components/index";

import "@/styles/index.scss";
import "./permisstion";
const my_env = import.meta.env;
console.log("my_env", my_env);
const app = createApp(App);

app.use(ElementPlus, {
  locale: zhCn,
});
//安装自定义插件
app.use(globalComponent);
app.use(pinia);
app.use(router);
app.mount("#app");
